package com.artogrid.bundle.contact.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.artogrid.bundle.contact.dao.IContactDao;
import com.artogrid.bundle.contact.service.IContactService;
import com.artogrid.framework.model.Contact;

@Service
public class ContactServiceImpl implements IContactService {

	@Autowired
	private IContactDao contactDao;
	
	@Override
	public void save(Contact contact) {
		contactDao.save(contact);
	}

	@Override
	public List<Contact> getAll() {
		return contactDao.getAll();
	}
	
}
